//文件读取
export function readfile(fileurl){
    return new Promise((reslove,reject)=>{
        const render = new FileReader();
        render.readAsBinaryString(fileurl);
        render.onload = function(e){
            reslove(e.target.result);
        }
    })
}


//字段对应表
export let character = {
  name: {
    text: '姓名',
    type: 'string'
  },
  phone: {
    text: '电话',
    type: 'string'
  }
}